#pragma once;

#include "cocos2d.h"
#include <tcCommon/tc_common.h>

using namespace cocos2d;

class PropSprite : public CCSprite
{
public :
	void init(tcType propType, tcType owner);
	void drawCDRect(int have);
	bool containsTouchLocation(const CCPoint& location);

	tcType getPropType();
	tcType getOwner();
private:
	tcType mOwner;
	tcType mPropType;
	unsigned int mNeedScore;
	bool mIsFading;
	float mCurrentPer;

private:
	CCPoint temp0[4];
    CCPoint temp1[5];
    CCPoint temp2[4];
    CCPoint temp3[3];
    CCPoint temp4[5];
    CCPoint temp5[4];
    CCPoint temp6[3];
};